// mm3dViewerEvent.cpp : Defines the exported functions for the DLL application.
//

#include "mm3dViewerEvent.h"

void CViewerEvent::addEventToViewer(osgViewer::View* view)
{
	for (int i = 0; i < vecViewerEvent.size(); i++)
	{
        osgGA::EventHandler* baseEvent = vecViewerEvent[i];
        view->addEventHandler(baseEvent);
	}
}
